<?php

/**
 * PSK
 *
 * An open source PHP web application development framework.
 *
 * @package	   PSK (PHP Sınıf Kütüphanesi)
 * @author     Namık Kemal Karasu
 * @copyright  Copyright (C) Namık Kemal Karasu
 * @license    GPLv3
 * @since      Version 0.
 * @link       http://nkkarasu.net/psk/
 * @link       http://code.google.com/p/phpsk/
 */

/**
 * PSK Application configuration file.
 *
 * @package		PSK
 * @subpackage	Application
 * @category	Configuration
 * @author		Namık Kemal Karasu
 * @link		TODO add configuration documentation link.
 */

$psk_conf = array();

// Application options...

$psk_conf['application']['applicationPath'] = '../app';
#$psk_conf['application']['controllerPath'] = 'controllers';
#$psk_conf['application']['viewPath'] = 'views';
#$psk_conf['application']['templatePath'] = 'templates';
#$psk_conf['application']['i18nPath'] = 'i18n';
$psk_conf['application']['dbClass'] = 'MySQL';
$psk_conf['application']['authClass'] = 'Simple';
$psk_conf['application']['autzClass'] = 'Simple';
$psk_conf['application']['locales'] = array ('en', 'tr');

// Log options...

#$psk_conf['log']['logDestination'] = PSK_LD_FILE;
#$psk_conf['log']['logDateTimeFormat'] = 'Ymd-His';
#$psk_conf['log']['logPath'] = './log';

// Uri options...

$psk_conf['uri']['basePath'] = 'pskdev';
$psk_conf['uri']['rewriteActive'] = false;
$psk_conf['uri']['modules'] = array('admin');
#$psk_conf['uri']['protocol'] = 'http';

// Application Layout options...

// Commented settings have their default values. And that values are also just 
// like below ones. If you want use an other setting than uncomment related 
// setting's line and make apropriate changes.

#$psk_conf['layout']['docType'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
#$psk_conf['layout']['xmlns'] = 'http://www.w3.org/1999/xhtml';
#$psk_conf['layout']['charSet'] = 'utf-8';

$psk_conf['layout']['title'] = 'PSK Application';
#$psk_conf['layout']['bodyClass'] = '';
#$psk_conf['layout']['bodyHeader'] = '';
#$psk_conf['layout']['bodyFooter'] = '';
#$psk_conf['layout']['scripts'] = array();
$psk_conf['layout']['styles'] = array('style/psk.css', 'style/site.css');
$psk_conf['layout']['metas'] = array('author' => 'Namık Kemal Karasu');
#$psk_conf['layout']['formParams'] = array('enctype' => 'multipart/form-data');
$psk_conf['layout']['template'] = 'master';
#$psk_conf['layout']['customHead'] = '';

// Database options...
$psk_conf['database']['server'] = 'localhost';
$psk_conf['database']['user'] = 'root';
$psk_conf['database']['password'] = '12345';
$psk_conf['database']['database'] = 'pskblog';
$psk_conf['database']['persistent'] = true;
$psk_conf['database']['charSet'] = 'utf8';
$psk_conf['database']['collation'] = 'utf8_turkish_ci';
$psk_conf['database']['autoConnect'] = true;

// Simple authentication options.
$psk_conf['authentication']['user'] = array (
	'name' => 'admin',
	'key' => '123',
	'fullUserName' => 'Blog Administrator',
	'credential' => 'admin'
);

// Simple authorization option.
$psk_conf['authorization']['publicController'] = 'index';
$psk_conf['authorization']['privateModule'] = 'admin';

$psk_conf['adminLayout']['inherits'] = 'layout';
$psk_conf['adminLayout']['title'] = 'Blog Administration';
$psk_conf['adminLayout']['extraStyles'] = array('style/dbeditor.css');

?>
